<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>${panelTitle}</title>
    <link rel="shortcut icon" href="${ctx}/public/img/favicon.ico"/>

    <link href="${ctx}/public/css/bootstrap.min.css" rel="stylesheet">
    <link href="${ctx}/public/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="${ctx}/public/css/animate.css" rel="stylesheet">
    <link href="${ctx}/public/css/style.css" rel="stylesheet">

    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <div>
            <!--显示logo-->
            <#if isShowLogo>
            <h1 class="logo-name">${pageTitle}</h1>
        </#if>
    </div>
</div>
<!-- 登录页标题 -->
<h3>欢迎使用 ${pageTitle}</h3>

<form class="m-t" role="form" method="post" action="/sso/login?ReturnURL=${returnUrl}">
    <input type="hidden" name="httpstatus" value="401"/>
    <div class="form-group">
        <#if kickout??>
            <span type="text" class="text-danger">您的账户已在别处登陆！</span>
        </#if>
        ${message}
    </div>
    <div class="form-group">
        <input type="text" class="form-control" name="username" placeholder="用户名" required="">
    </div>
    <div class="form-group">
        <input type="password" class="form-control" name="password" placeholder="密码" required="">
    </div>
    <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>

    <p class="text-muted text-center"> <a href="login.html#"><small>忘记密码了？</small></a> | <a href="register.html">注册一个新账号</a></p>

</form>
</div>
</div>

<!-- Mainly scripts -->
<script src="${ctx}/public/js/jquery-3.1.1.min.js"></script>
<script src="${ctx}/public/js/bootstrap.min.js"></script>
</body>

</html>
